include rules.make

config:
	@echo done

build:
	$(MAKE) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) imx6qsbc_sd_config
	$(MAKE) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE)
	@cp u-boot.imx u-boot.imx.sd
	$(MAKE) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) imx6qsbc_emmc_config
	$(MAKE) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE)
	@cp u-boot.imx u-boot.imx.emmc

clean:
	$(MAKE) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) distclean

install:
	install -d $(UBOOT_INSTALL)
	install u-boot.imx.sd $(UBOOT_INSTALL)
	install u-boot.imx.emmc $(UBOOT_INSTALL)
